Home > biomechZoo > Toolbox > Support Functions > lineIntersect3D.m

lineIntersect3D

PURPOSE ^

Find intersection point of lines in 3D space, in the least squares sense.

SYNOPSIS ^

function [P_intersect,distances] = lineIntersect3D(PA,PB)

DESCRIPTION ^

 Find intersection point of lines in 3D space, in the least squares sense.
 PA :          Nx3-matrix containing starting point of N lines
 PB :          Nx3-matrix containing end point of N lines
 P_Intersect : Best intersection point of the N lines, in least squares sense.
 distances   : Distances from intersection point to the input lines
 Anders Eikenes, 2012

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005